<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .bg-use {
            width: 600px;
            height: 800px;
            background-color: #fff;
        }

        .bg1 {
            width: 100%;
            height: 300px;
            background: url(./image/04bg.png) no-repeat center center;
            margin-bottom: 10px;
        }

        .bg2 {
            width: 100%;
            height: 300px;
            background: url(./image/04bg1.png) no-repeat center center;
        }

        h2 {
            color: #fff;
            background-color: rgba(64, 72, 77, 0.9);
            text-align: center;
        }

        .bg3 {
            width: 100%;
            height: 300px;
            background: url(./image/04bg.png) no-repeat center center fixed;
        }
    </style>
</head>

<body>
    <div class="bg-use">
        <div class="bg1">
            <h2>海滨城市</h2>
        </div>
        <div class="bg2"></div>

        <div class="bg3"></div>
    </div>
</body>

</html>